home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: walterm@hprctbs3.rose.hp.com (Walter Murray)
- Newsgroups: comp.lang.c,comp.lang.c.moderated,hp.unix,comp.sys.hp.apps,comp.sys.hp.hpux
- Subject: Re: C coding problem
- Followup-To: comp.lang.c,comp.lang.c.moderated,hp.unix,comp.sys.hp.apps,comp.sys.hp.hpux
- Date: 16 Mar 1996 10:21:52 -0600
- Organization: Hewlett Packard Roseville Site
- Sender: clc@solutions.solon.com
- Approved: clc@solutions.solon.com
- Message-ID: <4iepr0$afp@solutions.solon.com>
- References: <4ianbf$h86@solutions.solon.com>
- NNTP-Posting-Host: solutions.solon.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Stephen Proctor (proctor@corp.hp.com) wrote:
-
- : Note: c89 is the HP-UX POSIX-conformant C compiler
- : Where can a list of warning and error codes be found for this compiler?
-
- In the HP C/HP-UX Reference Manual, HP part number 92453-90024.
-
- : % c89 shell.c -o shell
- : cc: "shell.c", line 98: warning 608: Illegal integer-pointer
- : combination in assignment.
-
- : if (*argv[ii] == '-') option_val = read_options;
-
- You haven't shown how read_options is declared. If it is a pointer,
- that would explain the warning. A pointer should not be assigned
- to an integer.
-
- Walter Murray
-